package com.huabo.monitor.oracle.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * 评价模板
 *
 * @author SongXiangYing
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("TBL_ASSESSTEMPLE")
public class TblAssesstemple implements java.io.Serializable {
    private static final long serialVersionUID = 1L;
    @TableId("ASSTEMID")
    @ApiModelProperty(value = "主键ID,自动增长")
    private BigDecimal asstemid;//主键（自增）
    @TableField("TEMPLENUMBER")
    @ApiModelProperty(value = "模板编号")
    private String templeNumber;//模板编号
    @TableField("TEMPLENAME")
    @ApiModelProperty(value = "模板名称")
    private String templename;//模板名称
    @TableField("MEMO")
    @ApiModelProperty(value = "备注")
    private String memo;//备注
    @TableField("STAFF")
    @ApiModelProperty(value = "用户")
    private TblStaff staff;//用户
    @TableField("MODIFYDATETIME")
    @ApiModelProperty(value = "修改时间")
    private Date modifyDateTime;//修改时间
    @TableField("TEMPLESTATUS")
    @ApiModelProperty(value = "模板状态")
    private Integer templeStatus;//模板状态
    @TableField("TEMPLEDESC")
    @ApiModelProperty(value = "模板说明")
    private String templeDesc;//模板说明
    private Set<TblOrganization> organizations = new HashSet<TblOrganization>();
    //评价分类
    private Set<TblAssesscategory> tblAssesscategories = new HashSet<TblAssesscategory>();
    //评价类别
    private Set<TblAssess> tblAssesses = new HashSet<TblAssess>();
    private String reorg;
    private String reorgText;
    //评价
    private TblOrganization tblComany;  //公司
}